<?php
function DisplayAlphabet(){
        $str="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z";
        $str=split(",",$str);
        echo "<table width='100%' cellpadding='0' cellspacing='0' bgcolor='#F0F0FF' style='border-collapse: collapse; border: 1px solid #000080; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1' border='1'>";
        echo "<tr align='center'>";
        for($i=0; $i <13 ; $i++){
        echo "<td width='7%' height='24' ><font size='2' face='Verdana, Arial, Helvetica, sans-serif' color='black'>";
            echo "<a href=\"#\" class='link' onClick=\"javascript:search_alpha('".$str[$i]."')\">$str[$i]</a>&nbsp;&nbsp;&nbsp;";
            echo  "</td>";
        }
        echo "</tr>";
        echo "<tr align='center'>";
        for($i=13; $i <sizeof($str) ; $i++){
        echo "<td width='7%' height='24'><font size='2' face='Verdana, Arial, Helvetica, sans-serif' color='black'>";
            echo "<a href=\"#\" class='link' onClick=\"javascript:search_alpha('".$str[$i]."')\">$str[$i]</a>&nbsp;&nbsp;&nbsp;";
            echo  "</td>";
        }
        echo "</tr>";
        echo "</table>";
}
?>